
<%@ page import="com.plan.ConstructionReport" %>
<!doctype html>
<html>
	<head>
		<meta name="layout" content="main">
		<g:set var="entityName" value="${message(code: 'constructionReport.label', default: 'ConstructionReport')}" />
		<title><g:message code="default.show.label" args="[entityName]" /></title>
	</head>
	<body>
		<a href="#show-constructionReport" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
		<div class="nav" role="navigation">
			<ul>
				<li><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></li>
				<li><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
			</ul>
		</div>
		<div id="show-constructionReport" class="content scaffold-show" role="main">
			<h1><g:message code="default.show.label" args="[entityName]" /></h1>
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			
			<div class="splitcontentleft">
				<ol class="property-list constructionReport">
				
					<g:if test="${constructionReportInstance?.sn}">
					<li class="fieldcontain">
						<span id="sn-label" class="property-label"><g:message code="constructionReport.sn.label" default="Sn" /></span>
						
							<span class="property-value" aria-labelledby="sn-label"><g:fieldValue bean="${constructionReportInstance}" field="sn"/></span>
						
					</li>
					</g:if>
				
					<g:if test="${constructionReportInstance?.title}">
					<li class="fieldcontain">
						<span id="title-label" class="property-label"><g:message code="constructionReport.title.label" default="Title" /></span>
						
							<span class="property-value" aria-labelledby="title-label"><g:fieldValue bean="${constructionReportInstance}" field="title"/></span>
						
					</li>
					</g:if>
				
					<g:if test="${constructionReportInstance?.reportType}">
					<li class="fieldcontain">
						<span id="reportType-label" class="property-label"><g:message code="constructionReport.reportType.label" default="Report Type" /></span>
						
							<span class="property-value" aria-labelledby="reportType-label"><g:fieldValue bean="${constructionReportInstance}" field="reportType"/></span>
						
					</li>
					</g:if>
				
					<g:if test="${constructionReportInstance?.startDate}">
					<li class="fieldcontain">
						<span id="startDate-label" class="property-label"><g:message code="constructionReport.startDate.label" default="Start Date" /></span>
						
							<span class="property-value" aria-labelledby="startDate-label"><g:formatDate date="${constructionReportInstance?.startDate}" format="yyyy-MM-dd hh:mm"/></span>
						
					</li>
					</g:if>
				
					<g:if test="${constructionReportInstance?.endDate}">
					<li class="fieldcontain">
						<span id="endDate-label" class="property-label"><g:message code="constructionReport.endDate.label" default="End Date" /></span>
						
							<span class="property-value" aria-labelledby="endDate-label"><g:formatDate date="${constructionReportInstance?.endDate}" format="yyyy-MM-dd hh:mm"/></span>
						
					</li>
					</g:if>
				
					<g:if test="${constructionReportInstance?.depart}">
					<li class="fieldcontain">
						<span id="depart-label" class="property-label"><g:message code="constructionReport.depart.label" default="Depart" /></span>
						
							<span class="property-value" aria-labelledby="depart-label"><g:fieldValue bean="${constructionReportInstance}" field="depart"/></span>
						
					</li>
					</g:if>
					<g:if test="${constructionReportInstance?.creater}">
				<li class="fieldcontain">
					<span id="creater-label" class="property-label"><g:message code="constructionReport.creater.label" default="Creater" /></span>
					
						<span class="property-value" aria-labelledby="creater-label"><g:fieldValue bean="${constructionReportInstance}" field="creater"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${constructionReportInstance?.signLeader}">
				<li class="fieldcontain">
					<span id="signLeader-label" class="property-label"><g:message code="constructionReport.signLeader.label" default="Sign Leader" /></span>
					
						<span class="property-value" aria-labelledby="signLeader-label"><g:fieldValue bean="${constructionReportInstance}" field="signLeader"/></span>
					
				</li>
				</g:if>
			</ol>
		</div>
		<div class="splitcontentright">
			<ol class="property-list constructionReport">
				
			
				<g:if test="${constructionReportInstance?.signEngineer}">
				<li class="fieldcontain">
					<span id="signEngineer-label" class="property-label"><g:message code="constructionReport.signEngineer.label" default="Sign Engineer" /></span>
					
						<span class="property-value" aria-labelledby="signEngineer-label"><g:fieldValue bean="${constructionReportInstance}" field="signEngineer"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${constructionReportInstance?.signQc}">
				<li class="fieldcontain">
					<span id="signQc-label" class="property-label"><g:message code="constructionReport.signQc.label" default="Sign Qc" /></span>
					
						<span class="property-value" aria-labelledby="signQc-label"><g:fieldValue bean="${constructionReportInstance}" field="signQc"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${constructionReportInstance?.signEngineDept}">
				<li class="fieldcontain">
					<span id="signEngineDept-label" class="property-label"><g:message code="constructionReport.signEngineDept.label" default="Sign Engine Dept" /></span>
					
						<span class="property-value" aria-labelledby="signEngineDept-label"><g:fieldValue bean="${constructionReportInstance}" field="signEngineDept"/></span>
					
				</li>
				</g:if>
			<g:if test="${constructionReportInstance?.dateCreated}">
				<li class="fieldcontain">
					<span id="dateCreated-label" class="property-label"><g:message code="constructionReport.dateCreated.label" default="Date Created" /></span>
					
						<span class="property-value" aria-labelledby="dateCreated-label"><g:formatDate date="${constructionReportInstance?.dateCreated}" format="yyyy-MM-dd hh:mm"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${constructionReportInstance?.lastUpdated}">
				<li class="fieldcontain">
					<span id="lastUpdated-label" class="property-label"><g:message code="constructionReport.lastUpdated.label" default="Last Updated" /></span>
					
						<span class="property-value" aria-labelledby="lastUpdated-label"><g:formatDate date="${constructionReportInstance?.lastUpdated}" format="yyyy-MM-dd hh:mm"/></span>
					
				</li>
				</g:if>
				<g:if test="${constructionReportInstance?.remark}">
				<li class="fieldcontain">
					<span id="remark-label" class="property-label"><g:message code="constructionReport.remark.label" default="Remark" /></span>
					
						<span class="property-value" aria-labelledby="remark-label"><g:fieldValue bean="${constructionReportInstance}" field="remark"/></span>
					
				</li>
				</g:if>
				
			
			</ol>
		</div>
		<div class="clear"></div>
			<g:form>
				<fieldset class="buttons">
					<g:hiddenField name="id" value="${constructionReportInstance?.id}" />
					<g:link class="edit" action="edit" id="${constructionReportInstance?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
					<g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
				</fieldset>
			</g:form>
		</div>
	</body>
</html>
